package com.lhl.jwt.controller;

import cn.hutool.json.JSONUtil;
import com.lhl.jwt.domain.DemoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @className: LocalDateController
 * @description: TODO 类描述
 * @author: king
 * @date: 2020-09-07 17:12
 **/
@Slf4j
@RestController
public class LocalDateController {

    @PostMapping("/test-date")
    public DemoVO test(@RequestBody DemoVO demoVO){
        log.debug("demoVO=={}", JSONUtil.toJsonStr(demoVO));
        return  demoVO;
    }
}